package com.aau.edu.dao.mapper;

import com.aau.edu.dao.entity.Dept;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
@Mapper
public interface DeptMapper{
    /**
     * 查询所有部门
     * @return List<Dept>
     */
//    @Select("select * from dept")
    public List<Dept> getAllDepts();
}
